<div>
    <table border="1">
        <thead>
            <tr>
                <th>编号</th>
                <th>用户名</th>
            </tr>
        </thead>
        <tbody>
            {volist name='list' id='user'}
            <tr>
                <td>{$user.id}</td> 
                <td>{$user.username}</td>
            </tr>
            {/volist}
        </tbody>
        <tfoot>
            <tr>
                <td colspan="2">
                    {$list|raw}
                </td>
            </tr>
        </tfoot>
    </table>
</div>